<%--
  Created by IntelliJ IDEA.
  User: zhoum
  Date: 2016/8/8
  Time: 17:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<iframe id="iframepage" style='width:100%;' scrolling='no' src='/x/zjabank/rst/resend?controller=charts@${chartsName}' frameborder='0'></iframe>
<script type="text/javascript" language="javascript">
  function iFrameHeight() {
    var ifm = document.getElementById("iframepage");
    ifm.height = ifm.contentWindow.document.getElementById('echarts').offsetHeight+400;
//    console.log(ifm.contentWindow.document.getElementById('main').offsetHeight);
  }
  window.onload= function () {
    iFrameHeight();
  }
</script>